<?php

namespace app\common\model;

use app\common\model\TimeModel;

class GoodsCategory extends TimeModel
{

    protected $name = "goods_category";

    protected $deleteTime = "delete_time";
    protected $defaultSoftDelete = 0;


    public function shop()
    {
        return $this->belongsTo(Shop::class, 'shop_id', 'id');
    }

}